<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('任务详细信息')" />
	<th:block th:include="include :: jsonview-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm">
		<div class="form-group">
			<label class="col-sm-2 control-label">任务标题：</label>
			<div class="form-control-static" th:text="${taskInfo.target}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">登录信息：</label>
			<div class="form-control-static" th:if="${taskInfo.emerg} == 0">
				<span>普通</span>
			</div>
			<div class="form-control-static" th:if="${taskInfo.emerg} == 1">
				<span>紧急</span>
			</div>
			<div class="form-control-static" th:if="${taskInfo.emerg} == 2">
				<span>非常紧急</span>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">执行人员：</label>
			<div class="form-control-static" th:text="${taskInfo.duser.userName}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">任务处理时间：</label>
			<div class="form-control-static" th:text="${#dates.format(taskInfo.begin_date,'yyyy-MM-dd')} + '~' + ${#dates.format(taskInfo.end_date,'yyyy-MM-dd')}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">创建时间：</label>
			<div class="form-control-static" th:text="${#dates.format(taskInfo.create_date,'yyyy-MM-dd')}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">任务内容：</label>
			<div class="form-control-static" th:text="${taskInfo.detail}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">任务状态：</label>
			<div class="form-control-static" th:if="${taskInfo.task_status} == 0">
				<span>未完成</span>
			</div>
			<div class="form-control-static" th:if="${taskInfo.task_status} == 1">
				<span>已完成</span>
			</div>
			<div class="form-control-static" th:if="${taskInfo.task_status} == 2">
				<span>已放弃</span>
			</div>
		</div>
	</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: jsonview-js" />
<script th:inline="javascript">
	$(function() {});
</script>
</body>
</html>